-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Categories UI/UX #26501
Categories UI/UX #26501
Conversation
…ezkiy37/Expensify into feature/24463-categories-ui-ux
…ture/24463-categories-ui-ux
…ezkiy37/Expensify into feature/24463-categories-ui-ux
…ezkiy37/Expensify into feature/24463-categories-ui-ux
This reverts commit 46ef605.
@yuwenmemon Updated with your docs suggestions! |
The merge-base changed after approval.
@rezkiy37 Did you want to merge main into this branch? |
It is some automation from GH. I haven't touched the PR 😅 |
Since we don't have any conflicts and all conversations are resolved, we can move forward. |
The merge-base changed after approval.
WHAT? |
Okay - Can you merge main into this branch so we can merge? 😄 |
…ture/24463-categories-ui-ux
Let's try now or I am deleting GH 🤣 |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 1.3.69-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.69-2 🚀
|
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 1.3.70-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.70-8 🚀
|
[policyCategories, policyRecentlyUsedCategories, searchValue, selectedOptions], | ||
); | ||
|
||
const headerMessage = OptionsListUtils.getHeaderMessage(lodashGet(sections, '[0].data.length', 0) > 0, false, searchValue); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, OptionsListUtils
validates if the searchValue is an email or phone.
We should have changed this behavior to only check if it matches any category.
issue: #28078
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rushatgabhane, is it fixed already or I can work on it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's fixed in the linked issue
Details
This is the third PR the issue. Goals for this PR:
Fixed Issues
$ #24463
PROPOSAL: N/A
Tests
1. The "Category" button exists with a workspace with categories.
2. The "Category" button does not exist with a regular (private) chat.
3. The category list <8 items.
4. The category list >=8 items.
5. The category list >=8 items and a "Recent" section.
6. The category list >=8 items and search.
7. The category list with "Parent: Child" categories.
Offline tests
Same as "Tests"
QA Steps
Same as "Tests"
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Chrome.Distance.mp4
Chrome.Manual.mp4
Safari.Manual.mp4
Mobile Web - Chrome
IOS.Chrome.mp4
Android.Chrome.mp4
Mobile Web - Safari
IOS.Safari.mp4
Desktop
Desktop.Distance.mp4
Desktop.Manual.mp4
iOS
IOS.mp4
Android
Android.mp4